package com.smart.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("建设单位删除项目请求模型")
public class JiansheUnitDeleteProjectRequest implements Serializable {
    @NotNull(message = "建设单位id不能为空")
    @ApiModelProperty("建设单位id")
    private Long jianSheUnitId;
    @NotNull(message = "项目id不能为空")
    @ApiModelProperty("项目id")
    private Long projectId;
}
